package codes.sketch.quicksort;

import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        int[] arr = new int[]{1, 9, 3, 5, 6, 7, 2, 4, 8, 0};
        System.out.println("Init array state:   %s".formatted(Arrays.toString(arr)));
        Ordering.quickSort(arr);
        System.out.println("Sorted array state: %s".formatted(Arrays.toString(arr)));

    }
}